windowhandle: Use drag threshold instead of double click threshold
authorAlexander Mikhaylenko <alexm@gnome.org>
Fri, 25 Dec 2020 17:58:06 +0000 (22:58 +0500)
committerAlexander Mikhaylenko <alexm@gnome.org>
Fri, 29 Jan 2021 07:01:34 +0000 (12:01 +0500)
commit11f3b7730c278c1d58335896441c285091b5b740
treee5b649b803bdae102087e670d20ee7f9bf2d6b26
parentf63e6394ac32c9cbc85a344e1b22cbbd3188d7ee
windowhandle: Use drag threshold instead of double click threshold

Now that we have gtk_drag_check_threshold_double(), be consistent with
other draggable widgets and make sure we don't take over a drag before a
child does.

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3513
gtk/gtkwindowhandle.c